package com.zbkj.common.enums;

public enum ZbCommodityEnum {
    PROJECT_EXISTS("项目名称已存在","commodity.exists"),
    DOWN_UP("下架的状态下才可以上架","commodity.up"),
    UP_DOWN("上架的状态下才可以下架","commodity.down")
    ;

    private String name;
    private String code;

    ZbCommodityEnum(String name, String code) {
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
